<!DOCTYPE html>
<html lang="<?php echo Yii::app()->language; ?>">
<head>
<meta charset="utf-8" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="keywords" content="" />
<meta name="description" content="" />
<title><?php echo CHtml::encode($this->pageTitle) . ' - ' . Yii::app()->name; ?></title>
<style type="text/css">
<!--
#main-container{
	background-image:url(<?php echo Yii::app()->basePath; ?>/../img/bg_canvas.jpg);
	background-position:top left;
	background-repeat:repeat;
	padding:0; margin:0;
	height:100%;
}
#main-content{
	margin:48px;
}
-->
</style>
</head>
<?php
if (isset($_GET['lang']) and $_GET['lang'] == 'cn') {
	$fontfamily = 'font-family:SimHei;';
} else {
	$fontfamily = 'font-family:arial;';
}
?>
<body style="<?php echo $fontfamily; ?>">
<div class="container-fluid" id="main-container">
<div id="main-content">
	<?php echo $content; ?>
</div>
<div style="position:absolute;bottom:64px;left:32px;text-align:left;font-size:15px;line-height:22px;color:#444;">
	<span style="font-size:17px;line-height:24px;color:#444;font-weight:bold;"><?php echo Yii::app()->user->name; ?></span><br />
	<span><?php echo Yii::app()->user->address; ?></span><br />
	<span><?php echo Yii::app()->user->postcode; ?> <?php echo Yii::app()->user->city; ?></span>
</div>
<div style="position:absolute;bottom:32px;right:32px;text-align:center;">
	<img src="<?php echo Yii::app()->basePath; ?>/../img/yamii_qrcode.png" alt="" style="width:82px;margin-bottom:8px;" />
	<br />
	<span style="font-size:14px;color:#444;">www.yamii.fi</span>
</div>
</div><!--/.fluid-container-->
</body>
</html>